package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("forum_like")
public class ForumLike {
    @TableId(type = IdType.AUTO)
    private Integer id; // 主鍵ID
    private Integer userId; // 點贊用戶ID
    private Integer postId; // 點贊的帖子ID
    private Integer commentId; // 點贊的評論ID
    private LocalDateTime createdAt; // 點贊時間
} 